package studentinformationmanagementsystem.entity;

import java.io.Serializable;

/**
 * @author 苗庆
 * @version 1.0
 * 选修课展示实体类
 */
public class TacShow implements Serializable {


    //序列化
    private static final long serialVersionUID = 1L;

    //选修课编号
    public String number;

    //选修课名称
    private String coursename;

    //课程学分
    public String coursecredit;

    //课程学时
    public String period;

    //任课老师
    private String teachername;

    //课程限制总人数
    private  int numberofpeople;

    //已选课人数
    private int  numbertem;

    //成绩
    private String achievement;


    public TacShow() {

    }

    public TacShow(String number, String coursename, String coursecredit, String period, String teachername, int numberofpeople, int numbertem, String achievement) {
        this.number = number;
        this.coursename = coursename;
        this.coursecredit = coursecredit;
        this.period = period;
        this.teachername = teachername;
        this.numberofpeople = numberofpeople;
        this.numbertem = numbertem;
        this.achievement = achievement;
    }

    @Override
    public String toString() {
        return "TacShow{" +
                ",课程编号='" + number + '\'' +
                ", 课程名称='" + coursename + '\'' +
                ", 课程学分='" + coursecredit + '\'' +
                ", 课程学时='" + period + '\'' +
                ", 课程教师='" + teachername + '\'' +
                ", 课程限制人数=" + numberofpeople +
                ", 已选课人数=" + numbertem +
                ", 成绩='" + achievement + '\'' +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename;
    }

    public String getCoursecredit() {
        return coursecredit;
    }

    public void setCoursecredit(String coursecredit) {
        this.coursecredit = coursecredit;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public String getTeachername() {
        return teachername;
    }

    public void setTeachername(String teachername) {
        this.teachername = teachername;
    }

    public int getNumberofpeople() {
        return numberofpeople;
    }

    public void setNumberofpeople(int numberofpeople) {
        this.numberofpeople = numberofpeople;
    }

    public int getNumbertem() {
        return numbertem;
    }

    public void setNumbertem(int numbertem) {
        this.numbertem = numbertem;
    }

    public String getAchievement() {
        return achievement;
    }

    public void setAchievement(String achievement) {
        this.achievement = achievement;
    }
}
